<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>
<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Studio工作室项目管理</title>
    <link href="${pageContext.request.contextPath }/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/dist/css/font-awesome.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/dist/css/nprogress.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/dist/css/green.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/dist/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/dist/css/jqvmap.min.css" rel="stylesheet"/>  
    <link href="${pageContext.request.contextPath }/dist/css/daterangepicker.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/dist/css/custom.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/dist/css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen">
  <script src="${pageContext.request.contextPath }/dist/js/jquery.min.js"></script>
    <script src="${pageContext.request.contextPath }/dist/js/bootstrap.min.js"></script>
  <script src="${pageContext.request.contextPath }/dist/js/custom.min.js"></script>
  <script type="text/javascript" src="${pageContext.request.contextPath }/dist/js/bootstrap-datetimepicker.js" charset="UTF-8"></script>
  <script type="text/javascript" src="${pageContext.request.contextPath }/dist/js/bootstrap-datetimepicker.fr.js" charset="UTF-8"></script>
    <style>
    html,body{overflow:hidden;overflow-y:auto;}
    #con{
        height:650px;;
        margin:50px 0 0 300px;
    }
    </style>
 </head>
 <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
          <div class="left_col scroll-view">
            <div class="navbar nav_title" style="border: 0;">
              <a href="index.html" class="site_title"><i class="glyphicon glyphicon-flag"></i><span>Studio工作室</span></a>
            </div>
            <div class="clearfix"></div>
            
            <div class="profile clearfix">
              <div class="profile_pic">
                <img src="${pageContext.request.contextPath }/images/img.jpg" alt="..." class="img-circle profile_img">
              </div>
              <div class="profile_info">
                <span>Welcome,</span>
                <h2>John Doe</h2>
              </div>
            </div> <br>

            <!-- sidebar menu -->
            <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
              <div class="menu_section">
                <h3>General</h3>
                <ul class="nav side-menu">
                  <li><a><i class="glyphicon glyphicon-home"></i>Home<span class="glyphicon glyphicon-chevron-down pull-right"></span></a></li>
                  <li><a><i class="glyphicon glyphicon-edit"></i>Forms<span class="glyphicon glyphicon-chevron-down pull-right"></span></a></li>
                 
                </ul>
              </div>
              <div class="menu_section">
                <h3>Live On</h3>
                <ul class="nav side-menu">
                  <li class="active"><a href="${pageContext.request.contextPath }/clazz/clazz"><i class="glyphicon glyphicon-home"></i>班级信息管理</a></li>
                  <li><a href="${pageContext.request.contextPath }/college/college"><i class="glyphicon glyphicon-home"></i> 学院信息管理</a></li>
                  <li><a href="${pageContext.request.contextPath }/student/student"><i class="glyphicon glyphicon-home"></i> 学生信息管理</a></li>
                  <li><a href="${pageContext.request.contextPath }/workGroup/workGroup"><i class="glyphicon glyphicon-home"></i> 项目信息管理</a></li>           
                </ul>
              </div>
              <div class="menu_section">
                <form action="" class="form-horizontal"  role="form">
                    <fieldset>
                        <div class="form-group">
                            <div class="input-group date form_datetime col-md-5" data-date="1979-09-16T05:25:07Z" data-date-format="dd MM yyyy - HH:ii p" data-link-field="dtp_input1">
                            </div>
                            <input type="hidden" id="dtp_input1" value="" /><br/>
                        </div>
                    </fieldset>
                </form>
            </div>
            </div>

            <!-- /menu footer buttons -->
            <div class="sidebar-footer hidden-small">
              <a data-toggle="tooltip" data-placement="top" title="Settings">
                <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
              </a>
              <a data-toggle="tooltip" data-placement="top" title="FullScreen">
                <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
              </a>
              <a data-toggle="tooltip" data-placement="top" title="Lock">
                <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
              </a>
              <a data-toggle="tooltip" data-placement="top" title="Logout" href="login.html">
                <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
              </a>
            </div>
          </div>
        </div> <!--左边-->
        <div class="top_nav">
          <div class="nav_menu">
            <nav>
              <div class="nav toggle">
              <a id="menu_toggle"><i class="glyphicon glyphicon-align-justify"></i></a></div>
              <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                  <a href="#" class="user-profile dropdown-toggle" data-toggle="dropdown">
                    <img src="../images/img.jpg">John Doe
                    <span class="glyphicon glyphicon-chevron-down"></span>
                  </a>
                </li>
              </ul>
            </nav>
          </div>
        </div><!-- 顶部导航条 -->

        <!-- page content -->
        <div class="right_col" role="main">
			<h3 class=text-center>工作室项目管理</h3>
			<nav class="navbar navbar-horizontal">
			 <ul class="nav nav-pills">
				<li class="active"><a href="${pageContext.request.contextPath }/clazz/clazz">班级信息管理</a></li>
				<li><a href="${pageContext.request.contextPath }/college/college">学院信息管理</a></li>
				<li><a href="${pageContext.request.contextPath }/student/student">学生信息管理</a></li>
				<li><a href="${pageContext.request.contextPath }/workGroup/workGroup">项目信息管理</a></li>
		
			</ul>
			 
			</nav>
        </div>
          <!-- /top tiles -->
          <div class="row">
            <div class="col-md-12 col-sm-12 col-xs-12">
              <div class="dashboard_graph">
                <div class="row x_title">
                  <div class="col-md-offset-2">
                    <div class="container" id="con">
        <div class="row row-centered">
            <div class="well col-md-7 col-centered">
               <c:if test="${allErrors!=null }">
            <c:forEach items="${allErrors }" var="error">
            ${ error.defaultMessage}<br/>
        </c:forEach>
        </c:if>

						<form id="itemForm" action="${pageContext.request.contextPath }/college/addCollegeSubmit.action" method="post" >
						新增学院信息：
						<table  class="table table-bordered table-hover">
						<tr>
							<td><input type="hidden" name="collegeId"  value="${items.collegeId}" /></td>
						</tr>
						<tr>
							<td>学院名称</td>
							<td><input type="text" name="collegeName"  value="${items.collegeName }"/></td>
						</tr>
						
						<tr>
							<td colspan="2" align="center"><input class="btn btn-primary" type="submit" value="提交"/>
						</td>
						</tr>
						</table>
						</form>
						
						
</div>
        </div>
    </div>

    <!--模态框
    -->
    
                  </div>
                  
                </div>
              </div>
            </div>
          </div>
        
        <!-- footer content -->
        <footer>
          <div class="pull-right"> Studio - Bootstrap Admin Template by <a href="#">Colorlib</a></div>
          <div class="clearfix"></div>
        </footer> 
      </div>
   </div>
   <script type="text/javascript">
    $('.form_datetime').datetimepicker({
        //language:  'fr',
        weekStart: 1,
        todayBtn:  1,
        autoclose: 1,
        todayHighlight: 1,
        startView: 2,
        forceParse: 0,
        showMeridian: 1
    });
    $('.form_date').datetimepicker({
        language:  'fr',
        weekStart: 1,
        todayBtn:  1,
        autoclose: 1,
        todayHighlight: 1,
        startView: 2,
        minView: 2,
        forceParse: 0
    });
    $('.form_time').datetimepicker({
        language:  'fr',
        weekStart: 1,
        todayBtn:  1,
        autoclose: 1,
        todayHighlight: 1,
        startView: 1,
        minView: 0,
        maxView: 1,
        forceParse: 0
    });
</script>
  </body>
</html>
